package lng.site.balafon.model;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE membre</p>
 * <p></p>
 *
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "membre", catalog = "balafon2")
@SuppressWarnings("serial")
public class Membre implements Serializable {

	/**
	 * Attribute idMembre.
	 */
	private Integer idMembre;
	
	/**
	 * Attribute login.
	 */
	private String login;
	
	/**
	 * Attribute mdp.
	 */
	private String mdp;
	
	/**
	 * Attribute email.
	 */
	private String email;
	
	/**
	 * Attribute formation.
	 */
	private String formation;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idMembre
	 */
	@Basic
	@Id
	@GeneratedValue
	@Column(name = "id_membre")
		public Integer getIdMembre() {
		return idMembre;
	}

	/**
	 * @param idMembre new value for idMembre 
	 */
	public void setIdMembre(Integer idMembre) {
		this.idMembre = idMembre;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return login
	 */
	@Basic
	@Column(name = "login", length = 25)
		public String getLogin() {
		return login;
	}

	/**
	 * @param login new value for login 
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return mdp
	 */
	@Basic
	@Column(name = "mdp", length = 255)
		public String getMdp() {
		return mdp;
	}

	/**
	 * @param mdp new value for mdp 
	 */
	public void setMdp(String mdp) {
		this.mdp = mdp;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return email
	 */
	@Basic
	@Column(name = "email", length = 255)
		public String getEmail() {
		return email;
	}

	/**
	 * @param email new value for email 
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return formation
	 */
	@Basic
	@Column(name = "formation", length = 255)
		public String getFormation() {
		return formation;
	}

	/**
	 * @param formation new value for formation 
	 */
	public void setFormation(String formation) {
		this.formation = formation;
	}
	


}